package mware_lib;

public class RemoteException extends RuntimeException{

        private static final long serialVersionUID = 8565916722720497406L;
        
        Exception exception;
        
        public RemoteException(String message){
                super(message);
                this.exception = null;
        }

        public RemoteException(String message,Exception exception){
                super(message);
                this.exception = exception;
        }
        
        public Exception getException(){
                return this.exception;
        }
}
